package com.mzy.linear_struct.hot100.链表;

/**
 * @Author: mizy3
 * @Date: 2024/08/07/下午1:59
 * @Description:
 */
public class UtilsListNode {

    public static void print(ListNode head) {
        while (head != null){
            System.out.print(head.val);
            head = head.next;
        }
        System.out.println();
    }
}
